Skip to content

Conversation

@fbriere
Copy link
Collaborator

@fbriere fbriere commented Oct 22, 2022

libgsm is typically installed with a top-level gsm.h include file (either as the main file or as a compatibility symlink to gsm/gsm.h). If libgsm is installed but WITH_GSM is disabled, it's possible that this copy will shadow our own when audio/gsm/src is being built, depending on how include directories are ordered.

This will typically cause a build failure on systems such as FreeBSD, where /usr/local/include is inserted early in the list, such as seen in #305 (comment).

(While both copies are almost identical, the original one enforces C linkage, which ours does not.)

`libgsm` is typically installed with a top-level `gsm.h` include file
(either as the main file or as a compatibility symlink to `gsm/gsm.h`).
If `libgsm` is installed but `WITH_GSM` is disabled, it's possible that
this copy will shadow our own when `audio/gsm/src` is being built,
depending on how include directories are ordered.

This will typically cause a build failure on systems such as FreeBSD,
where `/usr/local/include` is inserted early in the list, such as seen
in LubosD#305 (comment).

(While both copies are almost identical, the original one enforces C
linkage, which ours does not.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant